package controller.link;

import controller.link.game.Ask4PlayersRoom;
import controller.link.game.Ask4Local;
import controller.link.game.Ask4SvInfo;
import controller.link.game.Ask4Neighboors;
import view.client.Console;
import model.Hearer;
import java.io.Serializable;
import controller.Link;
import model.Attendant;
import model.Server;

public class RefreshGameData implements Link, Serializable {

    public RefreshGameData() {
    }

    public RefreshGameData(Hearer h) {
        h.send((Link) this);
    }

    @Override
    public void serverUse(Server server, Attendant at) {
        Ask4PlayersRoom apr = new Ask4PlayersRoom();
        apr.serverUse(server, at);
        Ask4Yourself ay = new Ask4Yourself();
        ay.serverUse(server, at);
        Ask4SvInfo asi = new Ask4SvInfo();
        asi.serverUse(server, at);
        Ask4Local al = new Ask4Local();
        al.serverUse(server, at);
        Ask4Neighboors an = new Ask4Neighboors();
        an.serverUse(server, at);

    }

    @Override
    public void clientUse(Console console) {
    }
}
